home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WW3DKit / WW3DLight.h < prev    next >
Encoding:
Text File  |  1995-03-22  |  1.2 KB  |  45 lines

  1. // copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
  2. // see COPYRIGHT for reuse legalities
  3. //
  4.  
  5.  
  6. #import <appkit/appkit.h>
  7. #import <3Dkit/N3DLight.h>
  8. #import "WW3DCamera.h"
  9. #import "Protocol_WWRenderable.h"
  10.  
  11.  
  12. // WAVE!! You should make this conform to the WWRenderable protocol...
  13.  
  14.  
  15. @interface WW3DLight:N3DLight  < WWRenderable >
  16. {
  17.   List      *ribCommandList;
  18.   id        childList;
  19.   id        siblingList;
  20.   unsigned 
  21.     short   pathSeparator;
  22.   RtFloat  visibleSizeScale, xRotate, yRotate;
  23.   BOOL     visibleWhenPrinting;
  24.   RtFloat   a, b, c, d, vMagnitude, cosOfAlpha, sinOfAlpha;
  25.   RtPoint   v, u, uPrime;
  26.   RtMatrix  xMatrix, yMatrix, zMatrix;
  27.   RtColor   xColor, yColor,  zColor, myRtColor,
  28.             innerConeOpacity, outerConeOpacity, beamOpacity;
  29.   BOOL      dirtyBoundingBox, hasEveCmd;
  30. }
  31.  
  32. - synchUpRotationValues;
  33. - (BOOL)on;
  34. - renderSelf:(WW3DCamera *)camera;
  35. - makePointFrom:(RtPoint)pf intensity:(RtFloat)i;
  36. - makeDistantFrom:(RtPoint)pf to:(RtPoint)pt intensity:(RtFloat)i;
  37. - makeSpotFrom:(RtPoint)pf to:(RtPoint)pt
  38.         coneAngle:(RtFloat)ca coneDelta:(RtFloat)cd
  39.         beamDistribution:(RtFloat)bd
  40.         intensity:(RtFloat)i;
  41. - setFrom:(RtPoint)pf;
  42. - setFrom:(RtPoint)pf to:(RtPoint)pt;
  43.  
  44. @end
  45.